/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package testes;

import controller.FornecedorController;
import java.sql.SQLException;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import model.FornecedorMODEL;

/**
 *
 * @author Welisson
 */
public class TestaFornecedor {
    
    public static void main(String[] args){
        
        List<FornecedorMODEL> fornecedor = new FornecedorController().listaFornecedores();
        System.out.println(fornecedor.get(1).getNome());
        
    }
}
